NetBuffer

Undocumented in source.

Members

Functions

expectedSize
size_t expectedSize()
Undocumented in source. Be warned that the author may not have intended to support it.
getFinishedBuffer
ubyte[] getFinishedBuffer()

Gets the buffer only if it has already finished, and sliced to its expected size

isInvalid
bool isInvalid()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

buffer
ubyte[] buffer;

Buffer may be bigger than expected size as it will be reused

header
NetHeader header;

The header may change after some time since it will be reused.

Meta